home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000132_news@columbia.edu_Fri Apr 14 13:12:19 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  1KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA19497
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Fri, 14 Apr 1995 09:12:30 -0400
  3. Received: by apakabar.cc.columbia.edu id AA21961
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Fri, 14 Apr 1995 09:12:26 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Kermit via filter
  9. Date: 14 Apr 1995 13:12:19 GMT
  10. Organization: Columbia University
  11. Lines: 18
  12. Message-Id: <3mlsbj$le0@apakabar.cc.columbia.edu>
  13. References: <1995Apr13.142645.24475@gcm.com>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <1995Apr13.142645.24475@gcm.com>,
  18. Wei-Wen Lee <weiwen@gcm.com> wrote:
  19. : I am trying to run kermit from filter ...
  20. : where kermit.sh is a shell wrapper for an expect script that calls
  21. : kermit.  I do a set host internet and then I try to connect.  But,
  22. : I get this error ...
  23. Don't use expect to feed commands to Kermit.  Just run Kermit itself
  24. instead of expect, and tell it to read its commands from a command file.
  25. It's easier, it's more straightforward, it works.  You can even write
  26. UNIX C-Kermit script programs as if they were shell scripts by starting
  27. them with a line like this:
  28.  
  29. #!/usr/local/bin/kermit
  30.  
  31. and then giving them execute permission.  See page 391 of "Using C-Kermit".
  32.  
  33. - Frank